package com.lidong.day07;

public class Parent {
    private String name;
    private int age;

    public Parent(){
        System.out.println("我是父类无参构造");
    }

    public Parent(int age){
        this.age = age;
        System.out.println("我是父类有参构造");
    }
}
